package implementation;

import javax.swing.*;
import java.awt.*;
import gui.UI;

public class NewLabel extends JLabel {
    public NewLabel(String name, String font,Color color,int size){
        super(name);
        setFont(new Font(font, Font.BOLD, size));
        setForeground(color);

    }

    public NewLabel(String name, String font,int size){
        super(name);
        setFont(new Font(font, Font.BOLD, size));
        setForeground(UI.FONT_COLOR);

    }

    public NewLabel(ImageIcon imageIcon,Dimension size){
        super(imageIcon);
        setPreferredSize(size);
    }


}
